from apps.merchant.item.baseViews import *

class ItemViewForCSet(BaseItemViewSet):

    def get_queryset(self):
        params = getRequestParams(self.request)
        _list = getItemAll(self)
        if not params.get('activity'):
            _list = _list.filter(activity__isnull=True)
        return _list

